package dao;

import bean.City;

import java.util.List;

public class CityDao extends BaseDao<City>{
    public List<City>findAllCityByPid(int pid){
        String sql="SELECT * FROM city WHERE pid = ?;";
        return myselesct_multi(sql,City.class,pid );
    }
}
